home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2003 May
/
PCWorld_2003-05_cd.bin
/
Software
/
Vyzkuste
/
sms
/
sms20.exe
/
{app}
/
Defs
/
dcci_t.mls
< prev
next >
Wrap
Text File
|
2003-03-31
|
554b
|
27 lines
if $send_nick = 1
set pay_add = ((length "$pay_user") - 1)
set first = 154 - $pay_add
else
set pay_add = 0
set first = 154
endif
if $length <= (157 - $pay_add)
set first = ($first + 3)
endif
if $length <= $first
set msgnum = 1
set msgleft = ($first - $length)
set msgcount = $length
else
set msgnum = (($length - $first + 1) div 156) + 2
set msgleft = $first + (156 * ($msgnum - 1)) - $length
set msgcount = 156 - $msgleft
endif
set currency = "CZK"
if $length <> 0
set price = ($msgnum * 1.50)
endif